package com.example.elastic;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ElasticApplication {

    static Logger logger = LoggerFactory.getLogger(ElasticApplication.class);

    public static void main(String[] args) {
        if (logger.isDebugEnabled()) {
            logger.debug("启动elastic...");
        }

        SpringApplication.run(ElasticApplication.class, args);
    }

}